package testLayer;

import dbLayer.DBConnection;
import static org.junit.Assert.*;

import org.junit.Test;

public class ConnectionDatabaseTest {

	@Test
	public void test() {
		DBConnection dbCon = DBConnection.getInstance();
		if (dbCon != null) {
			System.out.println("Connection established.");
		}
		else {
		    fail("An error occured when stablishing connection to the database.");
		}
		
	}

}

